hackerrank day 2 more dice problem